<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>个人主页</title>
	<link rel="stylesheet" href="../css/user.css">
	<script type="text/javascript"  src="../js/jquery-1.11.3.js"></script>
</head>
<script>
function show(id){
	document.getElementById(id).style.display = 'block';
}
function hin(id){
	document.getElementById(id).style.display = 'none';
}
</script>
<body>
	<div class="wrap">
		<div class="logo">
		<!--头部-->
			<a href=""><img src="../images/dota2_logn.png" alt="恋尚优" /></a>
			<div class="login">
						<div class="user">
							<div class="user_img">
								<img src="../images/user.png" alt="" />
							</div>
							<div class="user_name" onmouseover="$('#user_name_none').css('display', 'block');"
								onmouseout="$('#user_name_none').css('display', 'none');">
								<a href="" id="user_name_a">
									<span>${userInfo. uName}</span> <b class="caret"></b>
								</a>
								<ul id="user_name_none">
									<li class="user_home"><a
										href="userCenter">个人主页</a></li>
									<li class="out_login"><a href="javascript:void(0)"
										id="quit"   onclick="loginOut()">退出登录</a></li>
								</ul>
							</div>
						</div>
			<!-- end -->
			</div>
		</div>
		<!--头部end-->
		<div class="bodyer">
			<div class="container">
			<!--主体内容-->
				<div class="site">
				<!-- 位置 -->
					<div class="home_icon">
						<a href=""><img src="../images/home_icon.png" alt="" /></a>
					</div>
					<div class="triangle"></div>
					<div class="site_sp">
						<a href="">用户中心</a>
					</div>
					<div class="triangle1"></div>
					<div class="site_ss">
						个人主页
				<!-- 位置end -->
				</div>
				<div class="container1">
					<div class="ample_container">
					<!-- 左边内容 -->
						<div class="user">
						<!-- 个人主页基本信息 -->
							<ul>
								<li class="user_pd">个人主页</li>
							</ul>
							<div class="user_time">
								<table>
									<th>基本信息</th>
								</table>
							</div>
							<div class="user_container">
								<table>
									<tr class="user_bor">
										<td class="user_td user_td1">会员名称：</td>
										<td class="user_td user_td_name">${userInfo. uName}</td>
										<td class="user_td user_td2">
											
										</td>
									</tr>
									<tr class="user_bor">
										<td class="user_td user_td1">你的邮箱：</td>
										<td class="user_td user_td_name">${userInfo. uEmail}</td>
										<td class="user_td user_td2"></td>
									</tr>
									<tr class="user_bor">
										<td class="user_td user_td1">手机号码：</td>
										<td class="user_td user_td_name">${userInfo. uPhone}</td>
										<td class="user_td user_td2"></td>
									</tr>
									<tr class="user_bor">
										<td class="user_td user_td1">上次登陆地址：</td>
										<td class="user_td user_td_name">${userInfo. uAddress}</td>
										<td class="user_td user_td2"></td>
									</tr>
										<tr class="user_bor">
										<td class="user_td user_td1">积分：</td>
										<td class="user_td user_td_name">${userInfo. uScore}</td>
										<td class="user_td user_td2"></td>
									</tr>
									<tr>
										<td class="user_td user_td1">注册时间：</td>
										<td class="user_td user_td_name">${userInfo. uRegisterTime}</td>
										<td class="user_td user_td2"></td>
									</tr>
								</table>
							</div>
							
						</div>
					<!-- 左边内容end -->
					</div>
					<div class="user_info">
					<!-- 右边内容 -->
						<div class="user_info_img">
							<img src="../images/user.png" alt="" />
						</div>
						<div class="user_info_name">
							<p>${userInfo. uName}</p>
						</div>
						<div class="user_info_site">
							<p>
								<span class="user_info_site1">
									<img src="../images/dw.png" alt="" />
									湖南省衡阳市 电信</span>
								<span class="user_info_site2">
									<img src="../images/time.png" alt="" />
									1小时前
								</span>
							</p>
						</div>
						<div class="ample_user_bor"></div>
						<div class="user_info_sign">
							<p>你若情深我必意重，唯有不负好时光。</p>
							
						</div>
						<div class="ample_user_bor"></div>
					<!-- 右边内容end -->
					</div>
					<div class="nav_bar">
					<!-- 右边导航栏 -->
						<a href="../front/record">
							<div class="nav_bar_1 ">
								<img src="../images/repertory.png" alt="" />
								<span>交易记录</span>
						</div>
						</a>
						
						<a href="../front/setting">
							<div class="nav_bar_1">
								<img src="../images/set.png" alt="" />
								<span>个人设置</span>
							</div>
						</a>
					<!-- 右边导航栏end -->
					</div>
				</div>
			<!--主题内容end-->
			</div>
			<!-- boyder end -->
		</div>
		<div class="footer">
			<div class="footer_container">
				<p>
					<a href="/index.php/home/Index/index.html">首页</a><b>|</b>
					<a href="#">关于我们</a><b>|</b>
					<a href="#">意见反馈</a><b>|</b>
					<a href="#">商务合作</a>
				</p>
			</div>
		</div>
	</div>
</body>
</html>
<script>
function loginOut(){
	$.get("../quit/front",{},function(data){
		if(data.status==200){
			window.location.reload();
		}
	},"json");
}
</script>